package com.xiaoq.order.vo;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * Created by chenjh on 2017/11/25.
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE, setterVisibility = JsonAutoDetect.Visibility.NONE)
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class PaySignVo implements Serializable {
    private static final long serialVersionUID = 5480720073515965464L;

    @ApiModelProperty(name = "sign", value = "(支付宝或微信)密钥信息", position = 10)
    private String sign;

    @ApiModelProperty(name = "prepayId", value = "prepayId", position = 20)
    private String prepayId;

    @ApiModelProperty(name = "appId", value = "微信支付APP ID", position = 30)
    private String appId;

    @ApiModelProperty(name = "partnerId", value = "微信支付 商户ID", position = 40)
    private String partnerId;

    @ApiModelProperty(name = "package", value = "微信 包名", position = 50)
    @JsonProperty("package")
    private String packageName;

    @ApiModelProperty(name = "timestamp", value = "时间戳", position = 60)
    private long timestamp = System.currentTimeMillis();

    @ApiModelProperty(name = "nonceStr", value = "随机字符串", position = 70)
    private String nonceStr;

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getPrepayId() {
		return prepayId;
	}

	public void setPrepayId(String prepayId) {
		this.prepayId = prepayId;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getPartnerId() {
		return partnerId;
	}

	public void setPartnerId(String partnerId) {
		this.partnerId = partnerId;
	}

	public String getPackageName() {
		return packageName;
	}

	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}

	public long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}

	public String getNonceStr() {
		return nonceStr;
	}

	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}


}
